package org.gap.web.jsf;

import java.util.List;

import org.gap.domain.Adherent;
import org.gap.domain.Tiers;

/**
 * Spring Component that handles CRUD requests for Adherent entities
 * 
 */
public interface AdherentComponent {

	/**
	 * Save an existing Tiers entity
	 * 
	 */
	public String saveAdherentTiers(Integer adherent_adhId, Tiers tiers);

	/**
	 * Getter for variable Adherent
	 * 
	 */
	public Tiers getTiers();

	/**
	 * Get Tiers entity by Adherent
	 * 
	 */
	public Tiers getAdherentTiers(Integer adhIdKey);

	/**
	 * Select the child Tiers entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteAdherentTiers(Integer adherent_adhId_1, Integer related_tiers_tieTiers);

	/**
	 * Create a new Adherent entity
	 * 
	 */
	public String newAdherent();

	/**
	 * Edit an existing Adherent entity
	 * 
	 */
	public String editAdherent(Integer adhIdKey_1);

	/**
	 * Delete an existing Tiers entity
	 * 
	 */
	public String deleteAdherentTiers(Integer adherent_adhId_2, Integer related_tiers_tieTiers_1);

	/**
	 * Create a new Tiers entity
	 * 
	 */
	public String newAdherentTiers(Integer adherent_adhId_3);

	/**
	 * Delete an existing Adherent entity
	 * 
	 */
	public String deleteAdherent(Integer adhIdKey_2);

	/**
	 * Show all Adherent entities
	 * 
	 */
	public List<Adherent> listAdherents();

	/**
	 * Select the Adherent entity for display allowing the user to confirm that they would like to delete the entity
	 * 
	 */
	public String confirmDeleteAdherent(Integer adhIdKey_3);

	/**
	 * Edit an existing Tiers entity
	 * 
	 */
	public String editAdherentTiers(Integer adherent_adhId_4, Integer related_tiers_tieTiers_2);

	/**
	 * Select an existing Adherent entity
	 * 
	 */
	public String selectAdherent(Integer adhIdKey_4);

	/**
	 * View an existing Tiers entity
	 * 
	 */
	public String selectAdherentTiers(Integer adherent_adhId_5, Integer related_tiers_tieTiers_3);

	/**
	 * Getter for variable Adherent
	 * 
	 */
	public Adherent getAdherent();

	/**
	 * Save an existing Adherent entity
	 * 
	 */
	public String saveAdherent(Adherent adherent);
}